import request from '@/utils/request'

export default {
  //根据手机号发验证码
  // sendCode(phone) {
  //   return request({
  //     url: `/edumsm/msm/send/${phone}`,
  //     method: 'get'
  //   })
  // },
  //根据手机号发验证码
    sendCode(emailaddress) {
    return request({
      url: `/edumsm/msm/emailsend/${emailaddress}`,
      method: 'get'
    })
  },

   //注册的方法
  registerMember(formItem) {
    return request({
      url: `/educenter/member/register`,
      method: 'post',
      data: formItem
    })
  }


}